package com.tsystems.school.jabber.DataBase.Entities;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by IntelliJ IDEA.
 * User: Kirill
 * Date: 23.08.11
 * Time: 0:16
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table( name = "Visibility" )
public class Visibility extends ManagedEntity {

	@Column(name = "user")
	private User user;

	@Column(name = "beholder")
	private User beholder;

	public Visibility() {
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public User getBeholder() {
		return beholder;
	}

	public void setBeholder(User beholder) {
		this.beholder = beholder;
	}
}
